import request from '@/utils/request'

// 查询课程详情-教师关联列表
export function listCourseDetailTeacher(query) {
  return request({
    url: '/project/courseDetailTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询课程详情-教师关联详细
export function getCourseDetailTeacher(id) {
  return request({
    url: '/project/courseDetailTeacher/' + id,
    method: 'get'
  })
}

// 新增课程详情-教师关联
export function addCourseDetailTeacher(data) {
  return request({
    url: '/project/courseDetailTeacher',
    method: 'post',
    data: data
  })
}

// 修改课程详情-教师关联
export function updateCourseDetailTeacher(data) {
  return request({
    url: '/project/courseDetailTeacher',
    method: 'put',
    data: data
  })
}

// 删除课程详情-教师关联
export function delCourseDetailTeacher(id) {
  return request({
    url: '/project/courseDetailTeacher/' + id,
    method: 'delete'
  })
}
